<%@ page import="java.util.List" %>
<%@ page import="pojo.Goods" %><%--
  Created by IntelliJ IDEA.
  User: konley
  Date: 2020/6/12
  Time: 12:18
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath }/css/bootstrap.css"/>
<script src="${pageContext.request.contextPath }/js/jquery-3.4.1.js" type="text/javascript" charset="utf-8"></script>
<script src="${pageContext.request.contextPath }/js/my.js" type="text/javascript" charset="utf-8"></script>
<html>
<head>
    <title>Title</title>
    <style>
        .wordList {
            margin: 0;
            padding: 0;
            width: 26.25%;
        }
        ul{
            text-align: left;
        }
    </style>
</head>
<body>
<script type="text/javascript">
</script>

<!--ajax下拉菜单组-->

<div class="container">
    <div class="row">
        <div class="col-sm-3 wordList">
            <ul class="list-group">
                <c:forEach items="${list }" var="Goods">
                    <li class="list-group-item"><a href="FindGoodsServlet?m=findGoodsByList&name=${Goods.name}">
                        ${Goods.type} | ${Goods.name}
                    </a>
                    </li>
                </c:forEach>
            </ul>
        </div>
    </div>
</div>

</body>
</html>
